package com.example.interceptor.Config;

import com.example.interceptor.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

//@Slf4j
//@ControllerAdvice
//@ResponseBody
//public class ExceptionAdvice {
//    @ExceptionHandler(Exception.class)
//    public Result handler(Exception e) {
//        return Result.fail("内部错误");
//    }
//}
